package com.kinoshita.flow.service;

import com.kinoshita.common.result.ResultDO;
import com.kinoshita.flow.api.domain.LoanInitDO;
import com.kinoshita.flow.api.domain.LoanTaskDO;
import com.kinoshita.flow.api.query.TaskQueryDO;

public interface ILoanService {

    public ResultDO startFlow(LoanInitDO domain);

    public ResultDO queryTaskByUsername(TaskQueryDO queryDO);

    public ResultDO apply(LoanTaskDO domain);

    public ResultDO approval(LoanTaskDO domain);
}
